package com.ynet.hmds28.user.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ynet.hmds28.user.model.Serviceflow;
import com.ynet.hmds28.user.model.ServiceflowQuery;

public interface ServiceflowDao {
	
	 //开启GTS事务
    public void enableTXC();
	
    int countByExample(ServiceflowQuery example);

    int deleteByExample(ServiceflowQuery example);

    int deleteByPrimaryKey(String serviceflowid);

    int insert(Serviceflow record);

    int insertSelective(Serviceflow record);

    List<Serviceflow> selectByExample(ServiceflowQuery example);

    Serviceflow selectByPrimaryKey(String serviceflowid);

    int updateByExampleSelective(@Param("record") Serviceflow record, @Param("example") ServiceflowQuery example);

    int updateByExample(@Param("record") Serviceflow record, @Param("example") ServiceflowQuery example);

    int updateByPrimaryKeySelective(Serviceflow record);

    int updateByPrimaryKey(Serviceflow record);
}